package com.hyfrogx.modules.app.form.information;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author liubin
 * @date 2019/11/22 14:27
 */
@Data
@ApiModel(value = "资讯评论表单")
public class CommentForm {

  @ApiModelProperty(value = "资讯id")
  @NotBlank(message="资讯id不能为空")
  private Integer infoId;

  @ApiModelProperty(value = "评论")
  @NotBlank(message="评论不能为空")
  private String comment;
}
